import { IPSPickupDataDEField } from './ipspickup-data-defield';
import { PSLinkDEFieldImpl } from './pslink-defield-impl';

export class PSPickupDataDEFieldImpl extends PSLinkDEFieldImpl implements IPSPickupDataDEField {
  get enableWriteBack(): boolean {
    return this.M.enableWriteBack != null ? this.M.enableWriteBack : false;
  }

  get phisicalDEField(): boolean {
    return this.M.phisicalDEField != null ? this.M.phisicalDEField : true;
  }

  get cls(): string {
    return 'PSPickupDataDEFieldImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'dataentity.defield.IPSPickupDataDEField') return true;
    return super.instanceof(cls);
  }
}
